<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>AXI muckbucket: rtl/axi_pkg.sv Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AXI muckbucket
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_76abd0e99dd7fac17b3d6a551048fb5f.html">rtl</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">axi_pkg.sv</div>  </div>
</div><!--header-->
<div class="contents">
<a href="axi__pkg_8sv.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Copyright (C) 2017, Matt Dew @ Dew Technologies, LLC</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// This program is free software (logic verification): you can redistribute it</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// and/or modify it under the terms of the GNU Lesser General Public License (LGPL)</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// as published by the Free Software Foundation, either version 3 of the License,</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// or (at your option) any later version.</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// This program is distributed in the hope that it will be useful, but WITHOUT</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// for more details.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// License: LGPL, v3, as defined and found on www.gnu.org,</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">//      http://www.gnu.org/licenses/lgpl.html</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// Author&#39;s intent:  If you use this AXI verification code and find or fix bugs</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">//                   or make improvements, then share those fixes or improvements.</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">//                   If you use this in a bigger project, I don&#39;t care about,</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">//                   or want, any changes or code outside this block.</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">//                   Example: If you use this in an SoC simulation/testbench</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">//                            I don&#39;t want, or care about, your SoC or other blocks.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//                            I just care about the enhancements to these AXI files.</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">//                   That&#39;s why I have choosen the LGPL instead of the GPL.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// Ugh, we now have a dependency on uvm in the RTL.</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// @Todo: check if abstract class can be a simple class and not a component or object</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;uvm_macros.svh&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a150391b59e1b2851c89272c84ed02077">   41</a></span>&#160;parameter <a class="code" href="axi__pkg_8sv.html#a150391b59e1b2851c89272c84ed02077">C_AXI_ID_WIDTH</a> = <a class="code" href="params__pkg_8sv.html#acc3f1524ce307037059dc1777798ee1f">params_pkg::AXI_ID_WIDTH</a>;   </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a3640be56d79c0ba42bea37784ac9ae6d">   48</a></span>&#160;parameter <a class="code" href="axi__pkg_8sv.html#a3640be56d79c0ba42bea37784ac9ae6d">C_AXI_DATA_WIDTH</a> = <a class="code" href="params__pkg_8sv.html#aefb87aba63546102696230c367fae534">params_pkg::AXI_DATA_WIDTH</a>; </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">   59</a></span>&#160;parameter <a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a> = <a class="code" href="params__pkg_8sv.html#a243e565e7e0e8614253648f1c4c47a2a">params_pkg::AXI_ADDR_WIDTH</a>; </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ab7eed2ef1c0b3f2e73a3ebe25df4b9e6">   65</a></span>&#160;parameter <a class="code" href="axi__pkg_8sv.html#ab7eed2ef1c0b3f2e73a3ebe25df4b9e6">C_AXI_LEN_WIDTH</a> = <a class="code" href="params__pkg_8sv.html#afd06121ba6ea9496041ee05853712a73">params_pkg::AXI_LEN_WIDTH</a>; </div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a35e86b0e0f722377718cfd9758cc8deb">   76</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a35e86b0e0f722377718cfd9758cc8deb">e_1BYTE</a>    = 0b000, </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a3b71b0b1775203dd26093fab08eab521">   77</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a3b71b0b1775203dd26093fab08eab521">e_2BYTES</a>   = 0b001, </div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a01afde8339a75426fad830f0962f10e5">   78</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a01afde8339a75426fad830f0962f10e5">e_4BYTES</a>   = 0b010, </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7b0e2780221101a2de9ed044008e6e96">   79</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7b0e2780221101a2de9ed044008e6e96">e_8BYTES</a>   = 0b011, </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a98f7ccdf3d33a3e5a07253878d977d83">   80</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a98f7ccdf3d33a3e5a07253878d977d83">e_16BYTES</a>  = 0b100, </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a9abb5c28cb0c40e8845d6470b4e3657c">   81</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a9abb5c28cb0c40e8845d6470b4e3657c">e_32BYTES</a>  = 0b101, </div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7abf5855cf6f1865568a9384c9fbe219">   82</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7abf5855cf6f1865568a9384c9fbe219">e_64BYTES</a>  = 0b110, </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a47e5b2d6b5341c90d3f172d47594f294">   83</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a47e5b2d6b5341c90d3f172d47594f294">e_128BYTES</a> = 0b111 </div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;                         } <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848">burst_size_t</a>;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba7759f7b1845ad2e729ccf878ff1b2e40">   89</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {<a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba7759f7b1845ad2e729ccf878ff1b2e40">e_FIXED</a>    = 0b00, </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba66585ba1c5e2c6e635898a45086d9c1d">   90</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba66585ba1c5e2c6e635898a45086d9c1d">e_INCR</a>     = 0b01, </div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95bac6caff421238a869ca419bbd19325b8c">   91</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95bac6caff421238a869ca419bbd19325b8c">e_WRAP</a>     = 0b10, </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba4375ed062d322ec2c9581b61f2b6b689">   92</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba4375ed062d322ec2c9581b61f2b6b689">e_RESERVED</a> = 0b11</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;                         } <a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95b">burst_type_t</a>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9d">   98</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {<a class="code" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9da01e497eaf63b1bf53a0105479c8c74de">e_OKAY</a>    = 0b00, </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9dad43dac468b1bc25183dd4e26a504bc3a">   99</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9dad43dac468b1bc25183dd4e26a504bc3a">e_EXOKAY</a>  = 0b01, </div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9da1fe56b6c3532c9dbf95cd6ceb8e6b280">  100</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9da1fe56b6c3532c9dbf95cd6ceb8e6b280">e_SLVERR</a>  = 0b10, </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9dafdc0186d85ac39b36e66dab544b906c3">  101</a></span>&#160;                          <a class="code" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9dafdc0186d85ac39b36e66dab544b906c3">e_DECERR</a>  = 0b11  </div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                         } <a class="code" href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9d">response_type_t</a>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html">  113</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a0cc91e33e2158ce184451d71976513a5">  114</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#a150391b59e1b2851c89272c84ed02077">C_AXI_ID_WIDTH</a>-1:0&gt;     <a class="code" href="axi__pkg_8sv.html#a0cc91e33e2158ce184451d71976513a5">awid</a>;  </div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a148456644b1b5a6f5a7e655ec6191685">  115</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;    <a class="code" href="axi__pkg_8sv.html#a148456644b1b5a6f5a7e655ec6191685">awaddr</a>; </div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#aa65fb80d805c2a427b60e026dab1e297">  116</a></span>&#160;  logic                          <a class="code" href="axi__pkg_8sv.html#aa65fb80d805c2a427b60e026dab1e297">awvalid</a>; </div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a6a83a016049b05030b51a0acd20bce2b">  117</a></span>&#160;  logic                          <a class="code" href="axi__pkg_8sv.html#a6a83a016049b05030b51a0acd20bce2b">awready</a>; </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a92d3254b64f00ab0c9048b5fe5ebc78e">  118</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#ab7eed2ef1c0b3f2e73a3ebe25df4b9e6">C_AXI_LEN_WIDTH</a>-1:0&gt;     <a class="code" href="axi__pkg_8sv.html#a92d3254b64f00ab0c9048b5fe5ebc78e">awlen</a>;   </div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a738134782f1fba96b7cdfbadd38bae0c">  119</a></span>&#160;  logic &lt;2:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a738134782f1fba96b7cdfbadd38bae0c">awsize</a>;  </div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a52a86539de9462127b4d145af1cea8b9">  120</a></span>&#160;  logic &lt;1:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a52a86539de9462127b4d145af1cea8b9">awburst</a>; </div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ae3bc50eebd3f709e301b219eae36dcfc">  121</a></span>&#160;  logic &lt;0:0&gt;                     <a class="code" href="axi__pkg_8sv.html#ae3bc50eebd3f709e301b219eae36dcfc">awlock</a>; </div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a63e06f84b2a25d7e83125f159c923435">  122</a></span>&#160;  logic &lt;3:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a63e06f84b2a25d7e83125f159c923435">awcache</a>; </div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a4827dd3c5400e9a65008363b7a20c2f9">  123</a></span>&#160;  logic &lt;2:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a4827dd3c5400e9a65008363b7a20c2f9">awprot</a>; </div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a2a2d278a013cc94ae98faba3c6658c7a">  124</a></span>&#160;  logic &lt;3:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a2a2d278a013cc94ae98faba3c6658c7a">awqos</a>; </div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;} <a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__aw__vector__s">axi_seq_item_aw_vector_s</a>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a3609a21c67a3c1b8ffe65c66bd413bdc">  128</a></span>&#160;localparam <span class="keywordtype">int</span> <a class="code" href="axi__pkg_8sv.html#a3609a21c67a3c1b8ffe65c66bd413bdc">AXI_SEQ_ITEM_AW_NUM_BITS</a> = $bits(<a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__aw__vector__s">axi_seq_item_aw_vector_s</a>); </div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a4c2433056567c2f85987e6a18fef7269">  132</a></span>&#160;<span class="keyword">typedef</span> bit &lt;<a class="code" href="axi__pkg_8sv.html#a3609a21c67a3c1b8ffe65c66bd413bdc">AXI_SEQ_ITEM_AW_NUM_BITS</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#a4c2433056567c2f85987e6a18fef7269">axi_seq_item_aw_vector_t</a>;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html">  141</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a1c277389685d707b62ef4973a6f2de65">  142</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#a3640be56d79c0ba42bea37784ac9ae6d">C_AXI_DATA_WIDTH</a>-1:0&gt;    <a class="code" href="axi__pkg_8sv.html#a1c277389685d707b62ef4973a6f2de65">wdata</a>; </div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ab0c07a62a0d7f3b7678b42d6024271ca">  143</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#a3640be56d79c0ba42bea37784ac9ae6d">C_AXI_DATA_WIDTH</a>/8-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#ab0c07a62a0d7f3b7678b42d6024271ca">wstrb</a>;  </div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#af5659acbf2381fdadf5f02d5a37b8827">  144</a></span>&#160;  logic                          <a class="code" href="axi__pkg_8sv.html#af5659acbf2381fdadf5f02d5a37b8827">wlast</a>;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a7ade4559b2878314a715082945693990">  145</a></span>&#160;  logic                          <a class="code" href="axi__pkg_8sv.html#a7ade4559b2878314a715082945693990">wvalid</a>;</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a04ae983fcabaaba20311ef1004d4936f">  146</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#a150391b59e1b2851c89272c84ed02077">C_AXI_ID_WIDTH</a>-1:0&gt;      <a class="code" href="axi__pkg_8sv.html#a04ae983fcabaaba20311ef1004d4936f">wid</a>;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;} <a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__w__vector__s">axi_seq_item_w_vector_s</a>;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#abcfb4d0ea71d9d468d8d8ee492acdcc7">  150</a></span>&#160;localparam <span class="keywordtype">int</span> <a class="code" href="axi__pkg_8sv.html#abcfb4d0ea71d9d468d8d8ee492acdcc7">AXI_SEQ_ITEM_W_NUM_BITS</a> = $bits(<a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__w__vector__s">axi_seq_item_w_vector_s</a>);  </div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#adde7476f486c8cdd6acc0bb33ef1ea70">  154</a></span>&#160;<span class="keyword">typedef</span> bit &lt;<a class="code" href="axi__pkg_8sv.html#abcfb4d0ea71d9d468d8d8ee492acdcc7">AXI_SEQ_ITEM_W_NUM_BITS</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#adde7476f486c8cdd6acc0bb33ef1ea70">axi_seq_item_w_vector_t</a>;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html">  162</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a1037aca20e9a00c0867e3d703afbdfbe">  163</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#a150391b59e1b2851c89272c84ed02077">C_AXI_ID_WIDTH</a>-1:0&gt;      <a class="code" href="axi__pkg_8sv.html#a1037aca20e9a00c0867e3d703afbdfbe">bid</a>; </div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ad9cdaf47fa03c7b15311a5315a615ca0">  164</a></span>&#160;  logic &lt;1:0&gt;                     <a class="code" href="axi__pkg_8sv.html#ad9cdaf47fa03c7b15311a5315a615ca0">bresp</a>; </div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;} <a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__b__vector__s">axi_seq_item_b_vector_s</a>;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a39ab1b1c2a814941adb3f0ceeef4b2aa">  167</a></span>&#160;localparam <span class="keywordtype">int</span> <a class="code" href="axi__pkg_8sv.html#a39ab1b1c2a814941adb3f0ceeef4b2aa">AXI_SEQ_ITEM_B_NUM_BITS</a> = $bits(<a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__b__vector__s">axi_seq_item_b_vector_s</a>); </div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a4622f8d1c44a8bc0dd6e8eea04dfcfbb">  171</a></span>&#160;<span class="keyword">typedef</span> bit &lt;<a class="code" href="axi__pkg_8sv.html#a39ab1b1c2a814941adb3f0ceeef4b2aa">AXI_SEQ_ITEM_B_NUM_BITS</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#a4622f8d1c44a8bc0dd6e8eea04dfcfbb">axi_seq_item_b_vector_t</a>;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html">  178</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#af8f8bad97d8cf822e7f752472cc41e4c">  179</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#a150391b59e1b2851c89272c84ed02077">C_AXI_ID_WIDTH</a>-1:0&gt;     <a class="code" href="axi__pkg_8sv.html#af8f8bad97d8cf822e7f752472cc41e4c">arid</a>; </div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a278863580e2abb564dbe11a0b3d13537">  180</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;    <a class="code" href="axi__pkg_8sv.html#a278863580e2abb564dbe11a0b3d13537">araddr</a>; </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a65bec91195efa3bab89a7615046520f2">  181</a></span>&#160;  logic                          <a class="code" href="axi__pkg_8sv.html#a65bec91195efa3bab89a7615046520f2">arvalid</a>;</div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ac7feaab83ae6741e9b3f4f7cf32081b5">  182</a></span>&#160;  logic                          <a class="code" href="axi__pkg_8sv.html#ac7feaab83ae6741e9b3f4f7cf32081b5">arready</a>;</div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a80bce5e6e44526ab71f77a15fb47e8bd">  183</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#ab7eed2ef1c0b3f2e73a3ebe25df4b9e6">C_AXI_LEN_WIDTH</a>-1:0&gt;     <a class="code" href="axi__pkg_8sv.html#a80bce5e6e44526ab71f77a15fb47e8bd">arlen</a>;</div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a781cfe20b63e690cdd11baad7b7951ca">  184</a></span>&#160;  logic &lt;2:0&gt;   <a class="code" href="axi__pkg_8sv.html#a781cfe20b63e690cdd11baad7b7951ca">arsize</a>;</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#af22d24b86ec764b1dd184407ca7fdeee">  185</a></span>&#160;  logic &lt;1:0&gt;   <a class="code" href="axi__pkg_8sv.html#af22d24b86ec764b1dd184407ca7fdeee">arburst</a>;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a8e67f1b24b60d2326f8548ab97f0cf82">  186</a></span>&#160;  logic &lt;0:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a8e67f1b24b60d2326f8548ab97f0cf82">arlock</a>; </div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a28bda75ceeaebee6b5caaeda4a2c3dc2">  187</a></span>&#160;  logic &lt;3:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a28bda75ceeaebee6b5caaeda4a2c3dc2">arcache</a>;</div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#ae081d1a988271ce876f48b9d59e88dd6">  188</a></span>&#160;  logic &lt;2:0&gt;                     <a class="code" href="axi__pkg_8sv.html#ae081d1a988271ce876f48b9d59e88dd6">arprot</a>;</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a91d02129840239b4ab7da03d9e77bf67">  189</a></span>&#160;  logic &lt;3:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a91d02129840239b4ab7da03d9e77bf67">arqos</a>;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;} <a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__ar__vector__s">axi_seq_item_ar_vector_s</a>;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#aa8976bdc123c77c1eb4afc1e8f127c53">  193</a></span>&#160;localparam <span class="keywordtype">int</span> <a class="code" href="axi__pkg_8sv.html#aa8976bdc123c77c1eb4afc1e8f127c53">AXI_SEQ_ITEM_AR_NUM_BITS</a> = $bits(<a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__ar__vector__s">axi_seq_item_ar_vector_s</a>);    </div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a312fd2db42dcfe2d4cadc9b7175357f0">  197</a></span>&#160;<span class="keyword">typedef</span> bit &lt;<a class="code" href="axi__pkg_8sv.html#aa8976bdc123c77c1eb4afc1e8f127c53">AXI_SEQ_ITEM_AR_NUM_BITS</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#a312fd2db42dcfe2d4cadc9b7175357f0">axi_seq_item_ar_vector_t</a>;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html">  205</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a95251143daf1829f1de5f56203bfe3c1">  206</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#a3640be56d79c0ba42bea37784ac9ae6d">C_AXI_DATA_WIDTH</a>-1:0&gt;    <a class="code" href="axi__pkg_8sv.html#a95251143daf1829f1de5f56203bfe3c1">rdata</a>; </div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a1c71b6fec000f98430fd665d6c7d94a0">  207</a></span>&#160;  logic &lt;1:0&gt;                     <a class="code" href="axi__pkg_8sv.html#a1c71b6fec000f98430fd665d6c7d94a0">rresp</a>; </div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#abafa44e60a310788057f90db49260cd3">  208</a></span>&#160;  logic                          <a class="code" href="axi__pkg_8sv.html#abafa44e60a310788057f90db49260cd3">rlast</a>; </div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a3c649f7bfe7fcc3d23c4aae81777ee3d">  209</a></span>&#160;  logic                          <a class="code" href="axi__pkg_8sv.html#a3c649f7bfe7fcc3d23c4aae81777ee3d">rvalid</a>; </div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a457f5a9657e6cdaf990763788401a26e">  210</a></span>&#160;  logic &lt;<a class="code" href="axi__pkg_8sv.html#a150391b59e1b2851c89272c84ed02077">C_AXI_ID_WIDTH</a>-1:0&gt;      <a class="code" href="axi__pkg_8sv.html#a457f5a9657e6cdaf990763788401a26e">rid</a>; </div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;} <a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__r__vector__s">axi_seq_item_r_vector_s</a>;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a5ca03583008df77c259a2f1503fb3e9c">  214</a></span>&#160;localparam <span class="keywordtype">int</span> <a class="code" href="axi__pkg_8sv.html#a5ca03583008df77c259a2f1503fb3e9c">AXI_SEQ_ITEM_R_NUM_BITS</a> = $bits(<a class="code" href="axi__pkg_8sv.html#structaxi__seq__item__r__vector__s">axi_seq_item_r_vector_s</a>);     </div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a6ff9a9241c4f3bc3a934bdd6c967107f">  218</a></span>&#160;<span class="keyword">typedef</span> bit &lt;<a class="code" href="axi__pkg_8sv.html#a5ca03583008df77c259a2f1503fb3e9c">AXI_SEQ_ITEM_R_NUM_BITS</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#a6ff9a9241c4f3bc3a934bdd6c967107f">axi_seq_item_r_vector_t</a>;</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a6c8ade980c77973114ddfd403d25bc23">  230</a></span>&#160; bit &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#a6c8ade980c77973114ddfd403d25bc23">calculate_burst_aligned_address</a>(</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;  input bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  address,</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;  input bit &lt;2:0&gt;                   burst_size) {</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;  bit &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;  aligned_address;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;  <span class="comment">// This can be done in a nice function, but this case</span></div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;  <span class="comment">// is immediatly understandable.</span></div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;  aligned_address = address;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;  <span class="keywordflow">case</span>  (burst_size) { </div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a35e86b0e0f722377718cfd9758cc8deb">e_1BYTE</a>    : aligned_address      = address;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a3b71b0b1775203dd26093fab08eab521">e_2BYTES</a>   : aligned_address[0]   = 0b0;</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a01afde8339a75426fad830f0962f10e5">e_4BYTES</a>   : aligned_address[2] = 0b00;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7b0e2780221101a2de9ed044008e6e96">e_8BYTES</a>   : aligned_address[3] = 0b000;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a98f7ccdf3d33a3e5a07253878d977d83">e_16BYTES</a>  : aligned_address[4] = 0b0000;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a9abb5c28cb0c40e8845d6470b4e3657c">e_32BYTES</a>  : aligned_address[5] = 0b0_0000;</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7abf5855cf6f1865568a9384c9fbe219">e_64BYTES</a>  : aligned_address[6] = 0b00_0000;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a47e5b2d6b5341c90d3f172d47594f294">e_128BYTES</a> : aligned_address[7] = 0b000_0000;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;  }</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;  uvm_info(<span class="stringliteral">&quot;axi_pkg::calculatate-aligned_adress&quot;</span>,</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;            $sformatf(<span class="stringliteral">&quot;address: 0x%0x burst_size:%0d alignedaddress: 0x%0x&quot;</span>,</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;                      address, burst_size, aligned_address),</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;            UVM_HIGH)</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;  <span class="keywordflow">return</span> aligned_address;</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;}</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a4af175634a55ae773681009062989a5d">  272</a></span>&#160; bit &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#a4af175634a55ae773681009062989a5d">calculate_bus_aligned_address</a>(</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;  input bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  addr,</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;  input <span class="keywordtype">int</span>                       bus_size) {</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;  bit &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;  aligned_address;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;  <span class="keywordtype">string</span> msg_s;</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;  aligned_address = addr;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;  <span class="keywordflow">case</span>  (bus_size) { </div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    2**<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a35e86b0e0f722377718cfd9758cc8deb">e_1BYTE</a>    : aligned_address      = addr;</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    2**<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a3b71b0b1775203dd26093fab08eab521">e_2BYTES</a>   : aligned_address[0]   = 0b0;</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    2**<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a01afde8339a75426fad830f0962f10e5">e_4BYTES</a>   : aligned_address[2] = 0b00;</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    2**<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7b0e2780221101a2de9ed044008e6e96">e_8BYTES</a>   : aligned_address[3] = 0b000;</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    2**<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a98f7ccdf3d33a3e5a07253878d977d83">e_16BYTES</a>  : aligned_address[4] = 0b0000;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    2**<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a9abb5c28cb0c40e8845d6470b4e3657c">e_32BYTES</a>  : aligned_address[5] = 0b0_0000;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    2**<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7abf5855cf6f1865568a9384c9fbe219">e_64BYTES</a>  : aligned_address[6] = 0b00_0000;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    2**<a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a47e5b2d6b5341c90d3f172d47594f294">e_128BYTES</a> : aligned_address[7] = 0b000_0000;</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;  }</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;  msg_s=<span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s addr: 0x%0x&quot;</span>, msg_s, addr);</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s aligned_address: 0x%0x&quot;</span>, msg_s, aligned_address);</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s bus_size: 0x%0x&quot;</span>, msg_s, bus_size);</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;  uvm_info(<span class="stringliteral">&quot;calculate_bus_aligned_address&quot;</span>, msg_s,UVM_HIGH)</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;  <span class="keywordflow">return</span> aligned_address;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;}</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#afbfbf7a50bf6dabae3804e39d05434b1">  320</a></span>&#160; bit &lt;<a class="code" href="axi__pkg_8sv.html#ab7eed2ef1c0b3f2e73a3ebe25df4b9e6">C_AXI_LEN_WIDTH</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#afbfbf7a50bf6dabae3804e39d05434b1">calculate_axlen</a>(</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;  input bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  addr,</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;  input bit &lt;2:0&gt;                   burst_size,</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;  input shortint                   burst_length) {</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;  byte unalignment_offset;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;  shortint total_length;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;  shortint shifter;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;  shortint ishifter;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;  bit &lt;<a class="code" href="axi__pkg_8sv.html#ab7eed2ef1c0b3f2e73a3ebe25df4b9e6">C_AXI_LEN_WIDTH</a>-1:0&gt;  beats;</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;  <span class="keywordtype">string</span> msg_s;</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;  unalignment_offset = <a class="code" href="axi__pkg_8sv.html#a1bb88ba6ed9a3a081a64f90042a681b5">calculate_unalignment_offset</a>(</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;                            .addr(addr),</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;                            .burst_size(burst_size));</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;  total_length=burst_length + unalignment_offset;</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;  shifter = shortint(total_length/(2**burst_size));</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;  ishifter = shifter*(2**burst_size);</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;  <span class="keywordflow">if</span> (ishifter != total_length) {</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    shifter += 1;</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;  }</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;  beats = shifter - 1;</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;  msg_s=<span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s addr: 0x%0x&quot;</span>,     msg_s, addr);</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s burst_size: %0d&quot;</span>, msg_s, burst_size);</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s unalignment_offset: %0d&quot;</span>, msg_s, unalignment_offset);</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s burst_length: %0d&quot;</span>, msg_s, burst_length);</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s total_length: %0d&quot;</span>, msg_s, total_length);</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s shifter: %0d&quot;</span>, msg_s, shifter);</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s ishifter: %0d&quot;</span>, msg_s, ishifter);</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;  uvm_info(<span class="stringliteral">&quot;axi_pkg::calculate_beats&quot;</span>,</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;            msg_s,</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;            UVM_HIGH)</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;  <span class="keywordflow">return</span> beats;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;}</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a1bb88ba6ed9a3a081a64f90042a681b5">  374</a></span>&#160; byte <a class="code" href="axi__pkg_8sv.html#a1bb88ba6ed9a3a081a64f90042a681b5">calculate_unalignment_offset</a>(</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;  input bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  addr,</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;  input byte                  burst_size) {</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;  byte unalignment_offset;</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    <span class="keywordflow">case</span>  (burst_size) { </div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;      <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a35e86b0e0f722377718cfd9758cc8deb">e_1BYTE</a>    : unalignment_offset = 0;</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;      <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a3b71b0b1775203dd26093fab08eab521">e_2BYTES</a>   : unalignment_offset = byte(addr[0]);</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;      <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a01afde8339a75426fad830f0962f10e5">e_4BYTES</a>   : unalignment_offset = byte(addr[2]);</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;      <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7b0e2780221101a2de9ed044008e6e96">e_8BYTES</a>   : unalignment_offset = byte(addr[3]);</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;      <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a98f7ccdf3d33a3e5a07253878d977d83">e_16BYTES</a>  : unalignment_offset = byte(addr[4]);</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;      <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a9abb5c28cb0c40e8845d6470b4e3657c">e_32BYTES</a>  : unalignment_offset = byte(addr[5]);</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;      <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7abf5855cf6f1865568a9384c9fbe219">e_64BYTES</a>  : unalignment_offset = byte(addr[6]);</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;      <a class="code" href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a47e5b2d6b5341c90d3f172d47594f294">e_128BYTES</a> : unalignment_offset = byte(addr[7]);</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;  }</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;  <span class="keywordflow">return</span> unalignment_offset;</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;}</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;</div><div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a1fe6872099e588c0924c5bb71a9964b3">  406</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="axi__pkg_8sv.html#a1fe6872099e588c0924c5bb71a9964b3">calculate_wrap_boundary</a>(</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;  input bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  addr,</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;  input bit &lt;2:0&gt;                   burst_size,</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;  input shortint                   burst_length,</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;  output bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  Lower_Wrap_Boundary,</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;  output bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  Upper_Wrap_Boundary) {</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;  <span class="keywordtype">int</span> max_beat_cnt;</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;  <span class="keywordtype">int</span> dtsize;</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;  bit &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;  Aligned_Address;</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;  max_beat_cnt = <a class="code" href="axi__pkg_8sv.html#afbfbf7a50bf6dabae3804e39d05434b1">calculate_axlen</a>(.addr         (addr),</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;                                 .burst_size   (burst_size),</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;                                 .burst_length (burst_length)) + 1;</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;  Aligned_Address=<a class="code" href="axi__pkg_8sv.html#a6c8ade980c77973114ddfd403d25bc23">calculate_burst_aligned_address</a>(.address(addr),</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;                                            .burst_size(burst_size));</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;  dtsize = (2**burst_size) * max_beat_cnt;</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;  Lower_Wrap_Boundary = (int(Aligned_Address/dtsize) * dtsize);</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;  Upper_Wrap_Boundary = Lower_Wrap_Boundary + dtsize;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;}</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div><div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a2bdf1895089f5dfc5195f221ecfc02d8">  447</a></span>&#160; bit &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;  <a class="code" href="axi__pkg_8sv.html#a2bdf1895089f5dfc5195f221ecfc02d8">get_next_address</a>(</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;  input bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  addr,</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;  input bit &lt;2:0&gt;                   burst_size,</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;  input shortint                   burst_length,</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;  input bit &lt;1:0&gt;                   burst_type,</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;  input <span class="keywordtype">int</span> beat_cnt,</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;  input <span class="keywordtype">int</span> lane,</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;  input <span class="keywordtype">int</span> data_bus_bytes) {</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;  bit &lt;<a class="code" href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a>-1:0&gt;  tmp_addr;</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;</div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;  <span class="keywordtype">int</span> Lower_Byte_Lane;</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;  <span class="keywordtype">int</span> Upper_Byte_Lane;</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;  <span class="keywordtype">int</span> data_offset;</div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;  <span class="keywordtype">int</span> Lower_Wrap_Boundary;</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;  <span class="keywordtype">int</span> Upper_Wrap_Boundary;</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;  <span class="keywordtype">string</span> s;</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;  <span class="keywordtype">string</span> msg_s;</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;  <a class="code" href="axi__pkg_8sv.html#a1fe6872099e588c0924c5bb71a9964b3">calculate_wrap_boundary</a>(.addr                (addr),</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;                          .burst_size          (burst_size),</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;                          .burst_length        (burst_length),</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;                          .Lower_Wrap_Boundary (Lower_Wrap_Boundary),</div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;                          .Upper_Wrap_Boundary (Upper_Wrap_Boundary));</div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;</div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;  <a class="code" href="axi__pkg_8sv.html#a269e42497226a3a0def0fc1bfdd7d22a">get_beat_N_byte_lanes</a>(.addr         (addr),</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;                        .burst_size   (burst_size),</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;                        .burst_length (burst_length),</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;                        .burst_type   (burst_type),</div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;                        .beat_cnt     (beat_cnt),</div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;                        .data_bus_bytes(data_bus_bytes),</div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;                        .Lower_Byte_Lane(Lower_Byte_Lane),</div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;                        .Upper_Byte_Lane(Upper_Byte_Lane),</div><div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;                        .offset(data_offset));</div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;  <span class="keywordflow">if</span> (burst_type == <a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba7759f7b1845ad2e729ccf878ff1b2e40">e_FIXED</a>) {</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    tmp_addr=addr+(lane - Lower_Byte_Lane);</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (burst_type == <a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba66585ba1c5e2c6e635898a45086d9c1d">e_INCR</a>) {</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    tmp_addr=addr+data_offset+(lane - Lower_Byte_Lane);</div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;</div><div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (burst_type == <a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95bac6caff421238a869ca419bbd19325b8c">e_WRAP</a>) {</div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;        tmp_addr=addr+data_offset+(lane - Lower_Byte_Lane);</div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;    <span class="keywordflow">if</span> (tmp_addr &gt;= Upper_Wrap_Boundary) {</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;      tmp_addr = Lower_Wrap_Boundary+(tmp_addr-Upper_Wrap_Boundary);</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    }</div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;<span class="comment">// \todo:do we have to worry about double-wrap?</span></div><div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;    uvm_error(<span class="stringliteral">&quot;AXI_PKG::get_next_address&quot;</span>, $sformatf(<span class="stringliteral">&quot;Unknown burst_type: %0d&quot;</span>, burst_type))</div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;  }</div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;  msg_s=<span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;</div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s beat_cnt:%0d&quot;</span>,              msg_s, beat_cnt);</div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160; <span class="comment">// $sformat(msg_s, &quot;%s max_beat_cnt:%0d&quot;,          msg_s, max_beat_cnt);</span></div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s lane:%0d&quot;</span>,                  msg_s, lane);</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s Lower_Byte_Lane:%0d&quot;</span>,       msg_s, Lower_Byte_Lane);</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s Upper_Byte_Lane:%0d&quot;</span>,       msg_s, Upper_Byte_Lane);</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s Lower_Wrap_Boundary:%0d(0x%0x)&quot;</span>, msg_s, Lower_Wrap_Boundary, Lower_Wrap_Boundary);</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s Upper_Wrap_Boundary:%0d(0x%0x)&quot;</span>, msg_s, Upper_Wrap_Boundary, Upper_Wrap_Boundary);</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s number_bytes:%0d&quot;</span>,          msg_s, (2**burst_size));</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s data_offset:%0d&quot;</span>,           msg_s, data_offset);</div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;  $sformat(msg_s, <span class="stringliteral">&quot;%s tmp_addr:%0d(0x%0x)&quot;</span>,       msg_s, tmp_addr, tmp_addr);</div><div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;</div><div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;  uvm_info(<span class="stringliteral">&quot;axi_seq_item::get_next_address&quot;</span>, msg_s, UVM_HIGH)</div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;</div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;  <span class="keywordflow">return</span> tmp_addr;</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;}</div><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;</div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;</div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;</div><div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="axi__pkg_8sv.html#a269e42497226a3a0def0fc1bfdd7d22a">  538</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="axi__pkg_8sv.html#a269e42497226a3a0def0fc1bfdd7d22a">get_beat_N_byte_lanes</a>(</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;  input bit &lt;C_AXI_ADDR_WIDTH-1:0&gt;  addr,</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;  input bit &lt;2:0&gt;  burst_size,</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;  input shortint  burst_length,</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;  input bit &lt;1:0&gt;                   burst_type,</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;  input  <span class="keywordtype">int</span> beat_cnt,</div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;  input  <span class="keywordtype">int</span> data_bus_bytes,</div><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;  output <span class="keywordtype">int</span> Lower_Byte_Lane,</div><div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;  output <span class="keywordtype">int</span> Upper_Byte_Lane,</div><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;  output <span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;</div><div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;</div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;</div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;   bit &lt;63:0&gt;  Aligned_Start_Address;</div><div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;  bit &lt;63:0&gt;  Address_N;</div><div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;  bit &lt;63:0&gt;  Bus_Aligned_Address;</div><div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;  bit &lt;63:0&gt;  Bus_Aligned_Address_N;</div><div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;</div><div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;  <span class="keywordtype">string</span> s;</div><div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;  <span class="keywordtype">string</span> msg_s;</div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;  <span class="keywordtype">int</span> a;</div><div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;  <span class="keywordtype">int</span> b;</div><div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;</div><div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;  Aligned_Start_Address=<a class="code" href="axi__pkg_8sv.html#a6c8ade980c77973114ddfd403d25bc23">calculate_burst_aligned_address</a>(.address(addr),</div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;                                                  .burst_size(burst_size));</div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;  Address_N = Aligned_Start_Address+(beat_cnt*(2**burst_size));</div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;</div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;</div><div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;</div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;  <span class="comment">// **********************</span></div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160; <span class="comment">// a = int&#39;(addr/data_bus_bytes) * data_bus_bytes;</span></div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;  Bus_Aligned_Address = <a class="code" href="axi__pkg_8sv.html#a4af175634a55ae773681009062989a5d">calculate_bus_aligned_address</a>(.addr(addr),</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;                                                  .bus_size(data_bus_bytes));</div><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;  Bus_Aligned_Address_N = <a class="code" href="axi__pkg_8sv.html#a4af175634a55ae773681009062989a5d">calculate_bus_aligned_address</a>(.addr(Address_N),</div><div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;                                                  .bus_size(data_bus_bytes));</div><div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;</div><div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;</div><div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;    <span class="comment">// Adjust Lower_Byte_lane up if unaligned.</span></div><div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;      <span class="keywordflow">if</span> (burst_type == <a class="code" href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba7759f7b1845ad2e729ccf878ff1b2e40">e_FIXED</a>) {</div><div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;      <span class="comment">//  if (beat_cnt==0) begin</span></div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;           Lower_Byte_Lane = addr - Bus_Aligned_Address;</div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;           Upper_Byte_Lane = Aligned_Start_Address + (2**burst_size) - 1 -</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;                             Bus_Aligned_Address;</div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;</div><div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;           offset = beat_cnt*(2**burst_size);</div><div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;</div><div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;</div><div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;      }  <span class="keywordflow">else</span> {</div><div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;</div><div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;        <span class="keywordflow">if</span> (beat_cnt==0) {</div><div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;           Lower_Byte_Lane = addr - Bus_Aligned_Address;</div><div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;           Upper_Byte_Lane = Aligned_Start_Address + (2**burst_size) - 1 -</div><div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;                             Bus_Aligned_Address;</div><div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;</div><div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;           offset = 0;</div><div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;</div><div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;        } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;           Lower_Byte_Lane = Address_N - Bus_Aligned_Address_N;</div><div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;           Upper_Byte_Lane = Lower_Byte_Lane + (2**burst_size) - 1;</div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;</div><div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;           offset = Address_N - addr;</div><div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;        }</div><div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;      }</div><div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;</div><div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;      msg_s=<span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s beat_cnt:%0d&quot;</span>,        msg_s, beat_cnt);</div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s data_bus_bytes:%0d&quot;</span>,  msg_s, data_bus_bytes);</div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s NumberBytes (2**burst_size):%0d&quot;</span>,  msg_s, (2**burst_size));</div><div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s addr:%0d&quot;</span>,            msg_s, addr);</div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s Aligned_Start_Address:%0d&quot;</span>,  msg_s, Aligned_Start_Address);</div><div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s Address_N:%0d&quot;</span>,  msg_s, Address_N);</div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s Lower_Byte_Lane:%0d&quot;</span>, msg_s, Lower_Byte_Lane);</div><div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s Upper_Byte_Lane:%0d&quot;</span>, msg_s, Upper_Byte_Lane);</div><div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;      $sformat(msg_s, <span class="stringliteral">&quot;%s offset:%0d&quot;</span>,          msg_s, offset);</div><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;</div><div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;  uvm_info(<span class="stringliteral">&quot;axi_seq_item::get_beat_N_byte_lanes&quot;</span>, msg_s, UVM_HIGH)</div><div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;</div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;}</div><div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;</div><div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;</div><div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;</div><div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;</div><div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="axi__if__abstract_8svh.html">axi_if_abstract.svh</a>&quot;</span></div><div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;</div><div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;</div><div class="ttc" id="axi__pkg_8sv_html_adde7476f486c8cdd6acc0bb33ef1ea70"><div class="ttname"><a href="axi__pkg_8sv.html#adde7476f486c8cdd6acc0bb33ef1ea70">axi_seq_item_w_vector_t</a></div><div class="ttdeci">bit&lt; AXI_SEQ_ITEM_W_NUM_BITS-1:0 &gt; axi_seq_item_w_vector_t</div><div class="ttdoc">Bit vector containing packed write data channel values. </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00154">axi_pkg.sv:154</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a1c71b6fec000f98430fd665d6c7d94a0"><div class="ttname"><a href="axi__pkg_8sv.html#a1c71b6fec000f98430fd665d6c7d94a0">axi_seq_item_r_vector_s::rresp</a></div><div class="ttdeci">logic&lt; 1:0 &gt; rresp</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00207">axi_pkg.sv:207</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_abafa44e60a310788057f90db49260cd3"><div class="ttname"><a href="axi__pkg_8sv.html#abafa44e60a310788057f90db49260cd3">axi_seq_item_r_vector_s::rlast</a></div><div class="ttdeci">logic rlast</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00208">axi_pkg.sv:208</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a1bb88ba6ed9a3a081a64f90042a681b5"><div class="ttname"><a href="axi__pkg_8sv.html#a1bb88ba6ed9a3a081a64f90042a681b5">calculate_unalignment_offset</a></div><div class="ttdeci">byte calculate_unalignment_offset(input bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; addr, input byte burst_size)</div><div class="ttdoc">calculate how unaligned the address is from the burst size </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00374">axi_pkg.sv:374</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a4827dd3c5400e9a65008363b7a20c2f9"><div class="ttname"><a href="axi__pkg_8sv.html#a4827dd3c5400e9a65008363b7a20c2f9">axi_seq_item_aw_vector_s::awprot</a></div><div class="ttdeci">logic&lt; 2:0 &gt; awprot</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00123">axi_pkg.sv:123</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_afbfbf7a50bf6dabae3804e39d05434b1"><div class="ttname"><a href="axi__pkg_8sv.html#afbfbf7a50bf6dabae3804e39d05434b1">calculate_axlen</a></div><div class="ttdeci">bit&lt; C_AXI_LEN_WIDTH-1:0 &gt; calculate_axlen(input bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; addr, input bit&lt; 2:0 &gt; burst_size, input shortint burst_length)</div><div class="ttdoc">calculate awlen or arlen </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00320">axi_pkg.sv:320</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ab7eed2ef1c0b3f2e73a3ebe25df4b9e6"><div class="ttname"><a href="axi__pkg_8sv.html#ab7eed2ef1c0b3f2e73a3ebe25df4b9e6">C_AXI_LEN_WIDTH</a></div><div class="ttdeci">parameter C_AXI_LEN_WIDTH</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00065">axi_pkg.sv:65</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848a35e86b0e0f722377718cfd9758cc8deb"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a35e86b0e0f722377718cfd9758cc8deb">e_1BYTE</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00076">axi_pkg.sv:76</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a4c2433056567c2f85987e6a18fef7269"><div class="ttname"><a href="axi__pkg_8sv.html#a4c2433056567c2f85987e6a18fef7269">axi_seq_item_aw_vector_t</a></div><div class="ttdeci">bit&lt; AXI_SEQ_ITEM_AW_NUM_BITS-1:0 &gt; axi_seq_item_aw_vector_t</div><div class="ttdoc">Bit vector containing packed write address channel values. </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00132">axi_pkg.sv:132</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a5ca03583008df77c259a2f1503fb3e9c"><div class="ttname"><a href="axi__pkg_8sv.html#a5ca03583008df77c259a2f1503fb3e9c">AXI_SEQ_ITEM_R_NUM_BITS</a></div><div class="ttdeci">localparam int AXI_SEQ_ITEM_R_NUM_BITS</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00214">axi_pkg.sv:214</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_af22d24b86ec764b1dd184407ca7fdeee"><div class="ttname"><a href="axi__pkg_8sv.html#af22d24b86ec764b1dd184407ca7fdeee">axi_seq_item_ar_vector_s::arburst</a></div><div class="ttdeci">logic&lt; 1:0 &gt; arburst</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00185">axi_pkg.sv:185</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a1037aca20e9a00c0867e3d703afbdfbe"><div class="ttname"><a href="axi__pkg_8sv.html#a1037aca20e9a00c0867e3d703afbdfbe">axi_seq_item_b_vector_s::bid</a></div><div class="ttdeci">logic&lt; C_AXI_ID_WIDTH-1:0 &gt; bid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00163">axi_pkg.sv:163</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac8b0f779dd7c96753c4355a5c86e0f9dad43dac468b1bc25183dd4e26a504bc3a"><div class="ttname"><a href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9dad43dac468b1bc25183dd4e26a504bc3a">e_EXOKAY</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00099">axi_pkg.sv:99</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac948ddb69d517d21ce13ec363f10b95ba66585ba1c5e2c6e635898a45086d9c1d"><div class="ttname"><a href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba66585ba1c5e2c6e635898a45086d9c1d">e_INCR</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00090">axi_pkg.sv:90</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a0cc91e33e2158ce184451d71976513a5"><div class="ttname"><a href="axi__pkg_8sv.html#a0cc91e33e2158ce184451d71976513a5">axi_seq_item_aw_vector_s::awid</a></div><div class="ttdeci">logic&lt; C_AXI_ID_WIDTH-1:0 &gt; awid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00114">axi_pkg.sv:114</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a781cfe20b63e690cdd11baad7b7951ca"><div class="ttname"><a href="axi__pkg_8sv.html#a781cfe20b63e690cdd11baad7b7951ca">axi_seq_item_ar_vector_s::arsize</a></div><div class="ttdeci">logic&lt; 2:0 &gt; arsize</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00184">axi_pkg.sv:184</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ab0c07a62a0d7f3b7678b42d6024271ca"><div class="ttname"><a href="axi__pkg_8sv.html#ab0c07a62a0d7f3b7678b42d6024271ca">axi_seq_item_w_vector_s::wstrb</a></div><div class="ttdeci">logic&lt; C_AXI_DATA_WIDTH/8-1:0 &gt; wstrb</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00143">axi_pkg.sv:143</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a2a2d278a013cc94ae98faba3c6658c7a"><div class="ttname"><a href="axi__pkg_8sv.html#a2a2d278a013cc94ae98faba3c6658c7a">axi_seq_item_aw_vector_s::awqos</a></div><div class="ttdeci">logic&lt; 3:0 &gt; awqos</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00124">axi_pkg.sv:124</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_structaxi__seq__item__r__vector__s"><div class="ttname"><a href="axi__pkg_8sv.html#structaxi__seq__item__r__vector__s">axi_seq_item_r_vector_s</a></div><div class="ttdoc">This packed struct is used to send read data channel information between the DUT and TB...</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00205">axi_pkg.sv:205</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ae3bc50eebd3f709e301b219eae36dcfc"><div class="ttname"><a href="axi__pkg_8sv.html#ae3bc50eebd3f709e301b219eae36dcfc">axi_seq_item_aw_vector_s::awlock</a></div><div class="ttdeci">logic&lt; 0:0 &gt; awlock</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00121">axi_pkg.sv:121</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_structaxi__seq__item__aw__vector__s"><div class="ttname"><a href="axi__pkg_8sv.html#structaxi__seq__item__aw__vector__s">axi_seq_item_aw_vector_s</a></div><div class="ttdoc">This packed struct is used to send write address channel information between the DUT and TB...</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00113">axi_pkg.sv:113</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_abcfb4d0ea71d9d468d8d8ee492acdcc7"><div class="ttname"><a href="axi__pkg_8sv.html#abcfb4d0ea71d9d468d8d8ee492acdcc7">AXI_SEQ_ITEM_W_NUM_BITS</a></div><div class="ttdeci">localparam int AXI_SEQ_ITEM_W_NUM_BITS</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00150">axi_pkg.sv:150</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ad9cdaf47fa03c7b15311a5315a615ca0"><div class="ttname"><a href="axi__pkg_8sv.html#ad9cdaf47fa03c7b15311a5315a615ca0">axi_seq_item_b_vector_s::bresp</a></div><div class="ttdeci">logic&lt; 1:0 &gt; bresp</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00164">axi_pkg.sv:164</a></div></div>
<div class="ttc" id="params__pkg_8sv_html_acc3f1524ce307037059dc1777798ee1f"><div class="ttname"><a href="params__pkg_8sv.html#acc3f1524ce307037059dc1777798ee1f">AXI_ID_WIDTH</a></div><div class="ttdeci">parameter AXI_ID_WIDTH</div><div class="ttdef"><b>Definition:</b> <a href="params__pkg_8sv_source.html#l00044">params_pkg.sv:44</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a738134782f1fba96b7cdfbadd38bae0c"><div class="ttname"><a href="axi__pkg_8sv.html#a738134782f1fba96b7cdfbadd38bae0c">axi_seq_item_aw_vector_s::awsize</a></div><div class="ttdeci">logic&lt; 2:0 &gt; awsize</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00119">axi_pkg.sv:119</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a1c277389685d707b62ef4973a6f2de65"><div class="ttname"><a href="axi__pkg_8sv.html#a1c277389685d707b62ef4973a6f2de65">axi_seq_item_w_vector_s::wdata</a></div><div class="ttdeci">logic&lt; C_AXI_DATA_WIDTH-1:0 &gt; wdata</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00142">axi_pkg.sv:142</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a95251143daf1829f1de5f56203bfe3c1"><div class="ttname"><a href="axi__pkg_8sv.html#a95251143daf1829f1de5f56203bfe3c1">axi_seq_item_r_vector_s::rdata</a></div><div class="ttdeci">logic&lt; C_AXI_DATA_WIDTH-1:0 &gt; rdata</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00206">axi_pkg.sv:206</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a150391b59e1b2851c89272c84ed02077"><div class="ttname"><a href="axi__pkg_8sv.html#a150391b59e1b2851c89272c84ed02077">C_AXI_ID_WIDTH</a></div><div class="ttdeci">parameter C_AXI_ID_WIDTH</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00041">axi_pkg.sv:41</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ae081d1a988271ce876f48b9d59e88dd6"><div class="ttname"><a href="axi__pkg_8sv.html#ae081d1a988271ce876f48b9d59e88dd6">axi_seq_item_ar_vector_s::arprot</a></div><div class="ttdeci">logic&lt; 2:0 &gt; arprot</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00188">axi_pkg.sv:188</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a2bdf1895089f5dfc5195f221ecfc02d8"><div class="ttname"><a href="axi__pkg_8sv.html#a2bdf1895089f5dfc5195f221ecfc02d8">get_next_address</a></div><div class="ttdeci">bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; get_next_address(input bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; addr, input bit&lt; 2:0 &gt; burst_size, input shortint burst_length, input bit&lt; 1:0 &gt; burst_type, input int beat_cnt, input int lane, input int data_bus_bytes)</div><div class="ttdoc">Get next address for reading/writing to memory. </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00447">axi_pkg.sv:447</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a6c8ade980c77973114ddfd403d25bc23"><div class="ttname"><a href="axi__pkg_8sv.html#a6c8ade980c77973114ddfd403d25bc23">calculate_burst_aligned_address</a></div><div class="ttdeci">bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; calculate_burst_aligned_address(input bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; address, input bit&lt; 2:0 &gt; burst_size)</div><div class="ttdoc">calculate burst_size aligned address </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00230">axi_pkg.sv:230</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a28bda75ceeaebee6b5caaeda4a2c3dc2"><div class="ttname"><a href="axi__pkg_8sv.html#a28bda75ceeaebee6b5caaeda4a2c3dc2">axi_seq_item_ar_vector_s::arcache</a></div><div class="ttdeci">logic&lt; 3:0 &gt; arcache</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00187">axi_pkg.sv:187</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a91d02129840239b4ab7da03d9e77bf67"><div class="ttname"><a href="axi__pkg_8sv.html#a91d02129840239b4ab7da03d9e77bf67">axi_seq_item_ar_vector_s::arqos</a></div><div class="ttdeci">logic&lt; 3:0 &gt; arqos</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00189">axi_pkg.sv:189</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a6ff9a9241c4f3bc3a934bdd6c967107f"><div class="ttname"><a href="axi__pkg_8sv.html#a6ff9a9241c4f3bc3a934bdd6c967107f">axi_seq_item_r_vector_t</a></div><div class="ttdeci">bit&lt; AXI_SEQ_ITEM_R_NUM_BITS-1:0 &gt; axi_seq_item_r_vector_t</div><div class="ttdoc">Bit vector containing packed read data channel values. </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00218">axi_pkg.sv:218</a></div></div>
<div class="ttc" id="params__pkg_8sv_html_afd06121ba6ea9496041ee05853712a73"><div class="ttname"><a href="params__pkg_8sv.html#afd06121ba6ea9496041ee05853712a73">AXI_LEN_WIDTH</a></div><div class="ttdeci">parameter AXI_LEN_WIDTH</div><div class="ttdef"><b>Definition:</b> <a href="params__pkg_8sv_source.html#l00047">params_pkg.sv:47</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_af8f8bad97d8cf822e7f752472cc41e4c"><div class="ttname"><a href="axi__pkg_8sv.html#af8f8bad97d8cf822e7f752472cc41e4c">axi_seq_item_ar_vector_s::arid</a></div><div class="ttdeci">logic&lt; C_AXI_ID_WIDTH-1:0 &gt; arid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00179">axi_pkg.sv:179</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac7feaab83ae6741e9b3f4f7cf32081b5"><div class="ttname"><a href="axi__pkg_8sv.html#ac7feaab83ae6741e9b3f4f7cf32081b5">axi_seq_item_ar_vector_s::arready</a></div><div class="ttdeci">logic arready</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00182">axi_pkg.sv:182</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac948ddb69d517d21ce13ec363f10b95b"><div class="ttname"><a href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95b">burst_type_t</a></div><div class="ttdeci">burst_type_t</div><div class="ttdoc">Does the address stay fixed, increment, or wrap during the burst? </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00089">axi_pkg.sv:89</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac8b0f779dd7c96753c4355a5c86e0f9d"><div class="ttname"><a href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9d">response_type_t</a></div><div class="ttdeci">response_type_t</div><div class="ttdoc">Write response values. </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00098">axi_pkg.sv:98</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848a3b71b0b1775203dd26093fab08eab521"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a3b71b0b1775203dd26093fab08eab521">e_2BYTES</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00077">axi_pkg.sv:77</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a63e06f84b2a25d7e83125f159c923435"><div class="ttname"><a href="axi__pkg_8sv.html#a63e06f84b2a25d7e83125f159c923435">axi_seq_item_aw_vector_s::awcache</a></div><div class="ttdeci">logic&lt; 3:0 &gt; awcache</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00122">axi_pkg.sv:122</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a3c649f7bfe7fcc3d23c4aae81777ee3d"><div class="ttname"><a href="axi__pkg_8sv.html#a3c649f7bfe7fcc3d23c4aae81777ee3d">axi_seq_item_r_vector_s::rvalid</a></div><div class="ttdeci">logic rvalid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00209">axi_pkg.sv:209</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848a7b0e2780221101a2de9ed044008e6e96"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7b0e2780221101a2de9ed044008e6e96">e_8BYTES</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00079">axi_pkg.sv:79</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a3640be56d79c0ba42bea37784ac9ae6d"><div class="ttname"><a href="axi__pkg_8sv.html#a3640be56d79c0ba42bea37784ac9ae6d">C_AXI_DATA_WIDTH</a></div><div class="ttdeci">parameter C_AXI_DATA_WIDTH</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00048">axi_pkg.sv:48</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a04ae983fcabaaba20311ef1004d4936f"><div class="ttname"><a href="axi__pkg_8sv.html#a04ae983fcabaaba20311ef1004d4936f">axi_seq_item_w_vector_s::wid</a></div><div class="ttdeci">logic&lt; C_AXI_ID_WIDTH-1:0 &gt; wid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00146">axi_pkg.sv:146</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a6a83a016049b05030b51a0acd20bce2b"><div class="ttname"><a href="axi__pkg_8sv.html#a6a83a016049b05030b51a0acd20bce2b">axi_seq_item_aw_vector_s::awready</a></div><div class="ttdeci">logic awready</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00117">axi_pkg.sv:117</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a457f5a9657e6cdaf990763788401a26e"><div class="ttname"><a href="axi__pkg_8sv.html#a457f5a9657e6cdaf990763788401a26e">axi_seq_item_r_vector_s::rid</a></div><div class="ttdeci">logic&lt; C_AXI_ID_WIDTH-1:0 &gt; rid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00210">axi_pkg.sv:210</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848">burst_size_t</a></div><div class="ttdeci">burst_size_t</div><div class="ttdoc">Size of beat in bytes. (How many bytes of the data bus are used each beat(clk). </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00076">axi_pkg.sv:76</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848a98f7ccdf3d33a3e5a07253878d977d83"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a98f7ccdf3d33a3e5a07253878d977d83">e_16BYTES</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00080">axi_pkg.sv:80</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a278863580e2abb564dbe11a0b3d13537"><div class="ttname"><a href="axi__pkg_8sv.html#a278863580e2abb564dbe11a0b3d13537">axi_seq_item_ar_vector_s::araddr</a></div><div class="ttdeci">logic&lt; C_AXI_ADDR_WIDTH-1:0 &gt; araddr</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00180">axi_pkg.sv:180</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a4622f8d1c44a8bc0dd6e8eea04dfcfbb"><div class="ttname"><a href="axi__pkg_8sv.html#a4622f8d1c44a8bc0dd6e8eea04dfcfbb">axi_seq_item_b_vector_t</a></div><div class="ttdeci">bit&lt; AXI_SEQ_ITEM_B_NUM_BITS-1:0 &gt; axi_seq_item_b_vector_t</div><div class="ttdoc">Bit vector containing packed write response channel values. </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00171">axi_pkg.sv:171</a></div></div>
<div class="ttc" id="params__pkg_8sv_html_a243e565e7e0e8614253648f1c4c47a2a"><div class="ttname"><a href="params__pkg_8sv.html#a243e565e7e0e8614253648f1c4c47a2a">AXI_ADDR_WIDTH</a></div><div class="ttdeci">parameter AXI_ADDR_WIDTH</div><div class="ttdef"><b>Definition:</b> <a href="params__pkg_8sv_source.html#l00045">params_pkg.sv:45</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a148456644b1b5a6f5a7e655ec6191685"><div class="ttname"><a href="axi__pkg_8sv.html#a148456644b1b5a6f5a7e655ec6191685">axi_seq_item_aw_vector_s::awaddr</a></div><div class="ttdeci">logic&lt; C_AXI_ADDR_WIDTH-1:0 &gt; awaddr</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00115">axi_pkg.sv:115</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a65bec91195efa3bab89a7615046520f2"><div class="ttname"><a href="axi__pkg_8sv.html#a65bec91195efa3bab89a7615046520f2">axi_seq_item_ar_vector_s::arvalid</a></div><div class="ttdeci">logic arvalid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00181">axi_pkg.sv:181</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a7ade4559b2878314a715082945693990"><div class="ttname"><a href="axi__pkg_8sv.html#a7ade4559b2878314a715082945693990">axi_seq_item_w_vector_s::wvalid</a></div><div class="ttdeci">logic wvalid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00145">axi_pkg.sv:145</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ab3a4347d855f294afac6e48ad076f677"><div class="ttname"><a href="axi__pkg_8sv.html#ab3a4347d855f294afac6e48ad076f677">C_AXI_ADDR_WIDTH</a></div><div class="ttdeci">parameter C_AXI_ADDR_WIDTH</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00059">axi_pkg.sv:59</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a39ab1b1c2a814941adb3f0ceeef4b2aa"><div class="ttname"><a href="axi__pkg_8sv.html#a39ab1b1c2a814941adb3f0ceeef4b2aa">AXI_SEQ_ITEM_B_NUM_BITS</a></div><div class="ttdeci">localparam int AXI_SEQ_ITEM_B_NUM_BITS</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00167">axi_pkg.sv:167</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a92d3254b64f00ab0c9048b5fe5ebc78e"><div class="ttname"><a href="axi__pkg_8sv.html#a92d3254b64f00ab0c9048b5fe5ebc78e">axi_seq_item_aw_vector_s::awlen</a></div><div class="ttdeci">logic&lt; C_AXI_LEN_WIDTH-1:0 &gt; awlen</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00118">axi_pkg.sv:118</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_structaxi__seq__item__w__vector__s"><div class="ttname"><a href="axi__pkg_8sv.html#structaxi__seq__item__w__vector__s">axi_seq_item_w_vector_s</a></div><div class="ttdoc">This packed struct is used to send write data channel information between the DUT and TB...</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00141">axi_pkg.sv:141</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac8b0f779dd7c96753c4355a5c86e0f9da1fe56b6c3532c9dbf95cd6ceb8e6b280"><div class="ttname"><a href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9da1fe56b6c3532c9dbf95cd6ceb8e6b280">e_SLVERR</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00100">axi_pkg.sv:100</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a269e42497226a3a0def0fc1bfdd7d22a"><div class="ttname"><a href="axi__pkg_8sv.html#a269e42497226a3a0def0fc1bfdd7d22a">get_beat_N_byte_lanes</a></div><div class="ttdeci">void get_beat_N_byte_lanes(input bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; addr, input bit&lt; 2:0 &gt; burst_size, input shortint burst_length, input bit&lt; 1:0 &gt; burst_type, input int beat_cnt, input int data_bus_bytes, output int Lower_Byte_Lane, output int Upper_Byte_Lane, output int offset)</div><div class="ttdoc">return byte lanes that contain valid data </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00538">axi_pkg.sv:538</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_af5659acbf2381fdadf5f02d5a37b8827"><div class="ttname"><a href="axi__pkg_8sv.html#af5659acbf2381fdadf5f02d5a37b8827">axi_seq_item_w_vector_s::wlast</a></div><div class="ttdeci">logic wlast</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00144">axi_pkg.sv:144</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80bce5e6e44526ab71f77a15fb47e8bd"><div class="ttname"><a href="axi__pkg_8sv.html#a80bce5e6e44526ab71f77a15fb47e8bd">axi_seq_item_ar_vector_s::arlen</a></div><div class="ttdeci">logic&lt; C_AXI_LEN_WIDTH-1:0 &gt; arlen</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00183">axi_pkg.sv:183</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848a47e5b2d6b5341c90d3f172d47594f294"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a47e5b2d6b5341c90d3f172d47594f294">e_128BYTES</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00083">axi_pkg.sv:83</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a1fe6872099e588c0924c5bb71a9964b3"><div class="ttname"><a href="axi__pkg_8sv.html#a1fe6872099e588c0924c5bb71a9964b3">calculate_wrap_boundary</a></div><div class="ttdeci">void calculate_wrap_boundary(input bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; addr, input bit&lt; 2:0 &gt; burst_size, input shortint burst_length, output bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; Lower_Wrap_Boundary, output bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; Upper_Wrap_Boundary)</div><div class="ttdoc">calculate the wrap boundaries for a given burst </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00406">axi_pkg.sv:406</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac8b0f779dd7c96753c4355a5c86e0f9da01e497eaf63b1bf53a0105479c8c74de"><div class="ttname"><a href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9da01e497eaf63b1bf53a0105479c8c74de">e_OKAY</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00098">axi_pkg.sv:98</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac8b0f779dd7c96753c4355a5c86e0f9dafdc0186d85ac39b36e66dab544b906c3"><div class="ttname"><a href="axi__pkg_8sv.html#ac8b0f779dd7c96753c4355a5c86e0f9dafdc0186d85ac39b36e66dab544b906c3">e_DECERR</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00101">axi_pkg.sv:101</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a8e67f1b24b60d2326f8548ab97f0cf82"><div class="ttname"><a href="axi__pkg_8sv.html#a8e67f1b24b60d2326f8548ab97f0cf82">axi_seq_item_ar_vector_s::arlock</a></div><div class="ttdeci">logic&lt; 0:0 &gt; arlock</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00186">axi_pkg.sv:186</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a4af175634a55ae773681009062989a5d"><div class="ttname"><a href="axi__pkg_8sv.html#a4af175634a55ae773681009062989a5d">calculate_bus_aligned_address</a></div><div class="ttdeci">bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; calculate_bus_aligned_address(input bit&lt; C_AXI_ADDR_WIDTH-1:0 &gt; addr, input int bus_size)</div><div class="ttdoc">calculate bus-siz aligned address </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00272">axi_pkg.sv:272</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_structaxi__seq__item__b__vector__s"><div class="ttname"><a href="axi__pkg_8sv.html#structaxi__seq__item__b__vector__s">axi_seq_item_b_vector_s</a></div><div class="ttdoc">This packed struct is used to send write response channel information between the DUT and TB...</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00162">axi_pkg.sv:162</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac948ddb69d517d21ce13ec363f10b95ba4375ed062d322ec2c9581b61f2b6b689"><div class="ttname"><a href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba4375ed062d322ec2c9581b61f2b6b689">e_RESERVED</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00092">axi_pkg.sv:92</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac948ddb69d517d21ce13ec363f10b95ba7759f7b1845ad2e729ccf878ff1b2e40"><div class="ttname"><a href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95ba7759f7b1845ad2e729ccf878ff1b2e40">e_FIXED</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00089">axi_pkg.sv:89</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a3609a21c67a3c1b8ffe65c66bd413bdc"><div class="ttname"><a href="axi__pkg_8sv.html#a3609a21c67a3c1b8ffe65c66bd413bdc">AXI_SEQ_ITEM_AW_NUM_BITS</a></div><div class="ttdeci">localparam int AXI_SEQ_ITEM_AW_NUM_BITS</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00128">axi_pkg.sv:128</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a52a86539de9462127b4d145af1cea8b9"><div class="ttname"><a href="axi__pkg_8sv.html#a52a86539de9462127b4d145af1cea8b9">axi_seq_item_aw_vector_s::awburst</a></div><div class="ttdeci">logic&lt; 1:0 &gt; awburst</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00120">axi_pkg.sv:120</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_ac948ddb69d517d21ce13ec363f10b95bac6caff421238a869ca419bbd19325b8c"><div class="ttname"><a href="axi__pkg_8sv.html#ac948ddb69d517d21ce13ec363f10b95bac6caff421238a869ca419bbd19325b8c">e_WRAP</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00091">axi_pkg.sv:91</a></div></div>
<div class="ttc" id="params__pkg_8sv_html_aefb87aba63546102696230c367fae534"><div class="ttname"><a href="params__pkg_8sv.html#aefb87aba63546102696230c367fae534">AXI_DATA_WIDTH</a></div><div class="ttdeci">parameter AXI_DATA_WIDTH</div><div class="ttdef"><b>Definition:</b> <a href="params__pkg_8sv_source.html#l00046">params_pkg.sv:46</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848a9abb5c28cb0c40e8845d6470b4e3657c"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a9abb5c28cb0c40e8845d6470b4e3657c">e_32BYTES</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00081">axi_pkg.sv:81</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_aa8976bdc123c77c1eb4afc1e8f127c53"><div class="ttname"><a href="axi__pkg_8sv.html#aa8976bdc123c77c1eb4afc1e8f127c53">AXI_SEQ_ITEM_AR_NUM_BITS</a></div><div class="ttdeci">localparam int AXI_SEQ_ITEM_AR_NUM_BITS</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00193">axi_pkg.sv:193</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_aa65fb80d805c2a427b60e026dab1e297"><div class="ttname"><a href="axi__pkg_8sv.html#aa65fb80d805c2a427b60e026dab1e297">axi_seq_item_aw_vector_s::awvalid</a></div><div class="ttdeci">logic awvalid</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00116">axi_pkg.sv:116</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848a01afde8339a75426fad830f0962f10e5"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a01afde8339a75426fad830f0962f10e5">e_4BYTES</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00078">axi_pkg.sv:78</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a312fd2db42dcfe2d4cadc9b7175357f0"><div class="ttname"><a href="axi__pkg_8sv.html#a312fd2db42dcfe2d4cadc9b7175357f0">axi_seq_item_ar_vector_t</a></div><div class="ttdeci">bit&lt; AXI_SEQ_ITEM_AR_NUM_BITS-1:0 &gt; axi_seq_item_ar_vector_t</div><div class="ttdoc">Bit vector containing packed read address channel values. </div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00197">axi_pkg.sv:197</a></div></div>
<div class="ttc" id="axi__if__abstract_8svh_html"><div class="ttname"><a href="axi__if__abstract_8svh.html">axi_if_abstract.svh</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_structaxi__seq__item__ar__vector__s"><div class="ttname"><a href="axi__pkg_8sv.html#structaxi__seq__item__ar__vector__s">axi_seq_item_ar_vector_s</a></div><div class="ttdoc">This packed struct is used to send read address channel information between the DUT and TB...</div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00178">axi_pkg.sv:178</a></div></div>
<div class="ttc" id="axi__pkg_8sv_html_a80eb2d0d4b7978e716989546b93fa848a7abf5855cf6f1865568a9384c9fbe219"><div class="ttname"><a href="axi__pkg_8sv.html#a80eb2d0d4b7978e716989546b93fa848a7abf5855cf6f1865568a9384c9fbe219">e_64BYTES</a></div><div class="ttdef"><b>Definition:</b> <a href="axi__pkg_8sv_source.html#l00082">axi_pkg.sv:82</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
